function allpass(n,aco)
{
	var passidall='';
	var passcidall='';
	var ci = 0;
	var e;
	if (aco!=1)
	{
		ci = aco-1;
		for (var i=ci;i>=0;i--)
		{
			e = myform.ArticleID[i];
			if (e.checked==true)
			{
				passidall += e.value;
			}
		}
	}
	else
	{
		if (myform.ArticleID.checked!=false) passidall += myform.ArticleID.value;
	}
	var url = '/include/inc/wsell.php?sid='+passidall+'&t='+myform.time.value;
	Request.reSend(url,"",allpass_return,n);
}
function allpass_return(httpObj,n)
{
	var obj = httpObj.responseText;
	eval(obj);
}
function sell(n)
{
	var vidk = 0;
	var aco = 0;
	var e;
	//alert(n);
	if (!myform.ArticleID.length) aco = 1;
	else aco = myform.ArticleID.length;
	for (var i=0;i<aco;i++)
	{
		if (aco!=1) e = myform.ArticleID[i];
		else e = myform.ArticleID;
		if (e.checked==true)
		vidk = 1;
	}
	if (vidk>0)
	{
		allpass(n,aco);
	}
}